#include <iostream>

using namespace std;
#include"concrete_company.h"
#ifndef DELETE_POINTER
#define DELETE_POINTER(p) {if(p){delete (p); (p)=nullptr;}}
#endif
int main()
{
    Company *ali=new Ali();
    ali->Recruit();

    Company *tencent=new Tencent();
    tencent->Recruit();

    DELETE_POINTER(ali);
    DELETE_POINTER(tencent);
    getchar();

    return 0;
}
